assign easting and northing coordinates
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=float), | intent(in) | :: | x |
easting coordinate |
||
| real(kind=float), | intent(in) | :: | y |
northing coordinate |
||
| type(Coordinate), | intent(inout) | :: | coord |
SUBROUTINE SetCoord & ! (x, y, coord) IMPLICIT NONE !Arguments with intent(in): REAL (KIND = float), INTENT (IN) :: x !!easting coordinate REAL (KIND = float), INTENT (IN) :: y !!northing coordinate !Arguments with intent(inout): TYPE (Coordinate), INTENT(INOUT) :: coord !------------end of declaration------------------------------------------------ coord % easting = x coord % northing = y END SUBROUTINE SetCoord